
package br.ufrn.dca.scontrol.main;

import br.ufrn.dca.scontrol.view.JanelaPrincipal;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import org.jvnet.substance.skin.SubstanceCremeCoffeeLookAndFeel;
import org.jvnet.substance.skin.SubstanceModerateLookAndFeel;
import org.jvnet.substance.skin.SubstanceNebulaBrickWallLookAndFeel;
import org.jvnet.substance.skin.SubstanceNebulaLookAndFeel;
import org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel;
import org.jvnet.substance.skin.SubstanceRavenLookAndFeel;
import org.jvnet.substance.skin.SubstanceSaharaLookAndFeel;

/**
 * Main class
 * @author Marco Olimpio
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        JanelaPrincipal.setDefaultLookAndFeelDecorated(true);
        SwingUtilities.invokeLater(new Runnable(){
            public void run(){
                try{
                    //UIManager.setLookAndFeel(new SubstanceRavenLookAndFeel());
                    //UIManager.setLookAndFeel(new SubstanceOfficeBlue2007LookAndFeel());
                    //UIManager.setLookAndFeel(new SubstanceNebulaLookAndFeel());
                    UIManager.setLookAndFeel(new SubstanceCremeCoffeeLookAndFeel());
                }catch(Exception ex){
                    System.out.println("LAF fail");
                }
            JanelaPrincipal windowPrincipal = new JanelaPrincipal();
            windowPrincipal.setExtendedState(JanelaPrincipal.MAXIMIZED_BOTH);
            windowPrincipal.setVisible(true);
            }
        });
    }
}
